import java.util.Scanner;

public class Test3 {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int num = scan.nextInt();
        scan.close();

        //write code here......
        if(num <= 0){
            System.out.println(num);
        }
        //for(int i = 0; i <)
        int count = 0;
        boolean fig = true;
        while(fig){
            num /= 10;
            count++;
            if(num == 0){
                fig = false;
            }


        }
        System.out.println(num);
    }
    public static void main3(String[] args) {
        Scanner scanner=new Scanner(System.in);
        float h=scanner.nextFloat();
        int n =scanner.nextInt();
        float sum = -h;
        for (int i = 1; i <= n; i++) {
            sum += 2 * h;
            h /= 2;
        }
        System.out.printf("%.3f %.3f", h, sum);
    }
    public static void main2(String[] args) {
        Scanner scanner=new Scanner(System.in);
        float h=scanner.nextFloat();
        int n =scanner.nextInt();

        float a = h;
        for (int i = 0; i < n; i++) {
            a /= 2;

        }
        float k = h;
        float sum = 0;
        for (int i = 1; i < n; i++) {
            k /= 2;
            sum += (2 * k);

        }

        System.out.println(String.format("%.3f", a ) + " " + String.format("%.3f",sum + 100));
    }
    public static void main1(String[] args) {
        Scanner scanner=new Scanner(System.in);
        float h=scanner.nextFloat();
        int n =scanner.nextInt();

        //write your code here......


        //输出格式为：System.out.println(String.format("%.3f", h)+" "+String.format("%.3f", sum));
        //int i = 0;
        /*for(int i = 1; i <= n; i++){
            h += 0.5 * h;
        }

        System.out.println(h);*/
        float a = h;
        for(int i = 0; i < n; i++){
            a /= 2;

        }
        System.out.println(a);
        float k = h;
        int sum = 0;
        for(int i = 1; i < n; i++){
            k /= 2;
            sum += (2 * k);

        }
        System.out.println(sum);
    }
}
